home *** CD-ROM | disk | FTP | other *** search
- on buttonpush buttonupC, buttondownC
- set castlist to [:]
- repeat with channel = 1 to 48
- setaProp(castlist, channel, the castNum of sprite channel)
- end repeat
- set buttonS to getOne(castlist, buttonupC)
- puppetSprite(buttonS, 1)
- set the castNum of sprite buttonS to buttondownC
- updateStage()
- repeat while the mouseUp <> 1
- end repeat
- set the castNum of sprite buttonS to buttonupC
- updateStage()
- puppetSprite(buttonS, 0)
- end
-